<template>
<div id="placeholder" style="height: 100%"></div>
</template>
    <script  src="http://192.168.1.118:8085/web-apps/apps/api/documents/api.js"></script>

    <script >

        window.docEditor = new DocsAPI.DocEditor("placeholder",
            {
                "document": {
                    "fileType": "docx",
                    "key": "E7FAFC9C22A8",
                    "title": "Example Document Title.docx",
                    "url": "http://blog.jiangliuhong.top/blogimg/other/test.docx"
                },
                "documentType": "word",
                "editorConfig": {
                    "callbackUrl": "https://example.com/url-to-callback.ashx",
                },
                "height": "100%",
                "width": "100%"
            });

    </script>
